@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>栏目管理管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-lg-2 col-sm-3">
                                <div class="panel panel-default">
                                    <div class="panel-heading">栏目树</div>
                                    <div class="panel-body dept-tree">
                                        <ul id="bannerTree" class="ztree"></ul>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-10 col-sm-9">
                                <div class="row">
                                    <div class="col-lg-10 col-sm-9">
                                        <div class="row">
                                            <div class="col-lg-4 col-sm-12">
                                                <#NameCon id="condition" name="栏目名称" />
                                                <#button name="搜索" icon="fa-search" clickFun="Column.search()"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="hidden-xs" id="ColumnTableToolbar" role="group">
                                    @if(shiro.hasPermission("/banner/add")){
                                    <#button name="添加" icon="fa-plus" clickFun="Column.openAddColumn()"/>
                                    @}
                                    @if(shiro.hasPermission("/banner/update")){
                                    <#button name="修改" icon="fa-plus" clickFun="Column.openColumnDetail()" space="true"/>
                                    @}
                                    @if(shiro.hasPermission("/banner/delete")){
                                    <#button name="删除" icon="fa-plus" clickFun="Column.delete()" space="true"/>
                                    @}
                                </div>
                                <#table id="ColumnTable"/>
                            </div>


                        </div>


                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/cms/column/column.js"></script>
@}
